﻿using System.Collections.ObjectModel;
using System.Windows;
using Red.Controls.Shell;

namespace Red.Controls.SourceControl
{
    public partial class RevertFilesDialog : RedDialog
    {
        #region Properties

        public bool RevertUnchangedOnly { get; set; }

        public bool DeleteEmptyChangelists { get; set; } = true;

        public ObservableCollection<string> Files { get; set; } = new ObservableCollection<string>();

        #endregion Properties

        #region C-tor

        public RevertFilesDialog()
        {
            InitializeComponent();
            
            Type = RedDialogType.OkCancel;
            ResizeMode = ResizeMode.CanResizeWithGrip;
            SizeToContent = SizeToContent.Manual;
            ShowMinButton = false;
        }

        #endregion C-tor
    }
}
